<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" novalidate>
    {% csrf_token %}
    {#    {{ form_obj.as_p }}#}
    {#    {{ form_obj.errors }}#}


    <p>
        <label for="{{ form_obj.user.id_for_label }}">{{ form_obj.user.label }}</label>
        {{ form_obj.user }}
        {{ form_obj.user.errors.0 }}
    </p>

    {#    <p>#}
    {#        <label for="{{ form_obj.email.id_for_label }}">{{ form_obj.email.label }}</label>#}
    {#        {{ form_obj.email }}#}
    {#        {{ form_obj.email.errors.0 }}#}
    {#    </p>#}
    <p>
        <label for="{{ form_obj.pwd.id_for_label }}">{{ form_obj.pwd.label }}</label>
        {{ form_obj.pwd }} {{ form_obj.pwd.errors.0 }}
    </p>

    <p>
        <label for="{{ form_obj.re_pwd.id_for_label }}">{{ form_obj.re_pwd.label }}</label>
        {{ form_obj.re_pwd }} {{ form_obj.re_pwd.errors.0 }}
    </p>

    {{ form_obj.errors }}
    {##}
    {#    <p>#}
    {#        <label for="{{ form_obj.gender.id_for_label }}">{{ form_obj.gender.label }}</label>#}
    {#        {{ form_obj.gender }}#}
    {#    </p>#}
    {##}
    {#    <p>#}
    {#        <label for="{{ form_obj.hobby.id_for_label }}">{{ form_obj.hobby.label }}</label>#}
    {#        {{ form_obj.hobby }}#}
    {#    </p>#}
    {#    <p>#}
    {#        <label for="{{ form_obj.phone.id_for_label }}">{{ form_obj.phone.label }}</label>#}
    {#        {{ form_obj.phone }} {{ form_obj.phone.errors.0 }}#}
    {#    </p>#}

    <button>注册</button>
</form>
</body>
</html>